<script setup></script>

<template>
  <div class="zy-footer">
    <div class="content">
      <!-- 左边 -->
      <div class="left">
        <div class="logo">
          <img src="@/assets/images/logo.svg" alt="" />
          <p>知语拾光</p>
        </div>
        <p class="explain">知语拾光是本人独自开发的，为便于与用户交流的留言平台。</p>
        <p class="explain">
          用户将留言便签或图片贴在留言墙上，也可以自定义便签的内容属性，不仅可以用于交流，也是一场记录。
        </p>
      </div>
      <!-- 中间 -->
      <div class="link">
        <p class="title">链接</p>
        <div class="link-content">
          <a class="link-name" href="https://b23.tv/LZY3b4q" target="_blank">bilibili</a>
          <a class="link-name" href="https://gitee.com/changzilin/time-web" target="_blank"
            >gitee</a
          >
          <a
            class="link-name"
            href="https://apifox.com/apidoc/shared-854827c3-bc62-4cf8-a7e4-7df4ae398813"
            target="_blank"
            >api文档</a
          >
          <a class="link-name" href="https://admin.zytime.vip/" target="_blank">后台管理</a>
          <a
            class="link-name"
            href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=-D73cV29DnH8A9ZBZxmPyEYRcVZ7gbkL&authKey=4Mtz%2FwZ6EPkZsIWhWkKGGbTaahCmRL0hVa7ZCyuJwfvSnaDGeKBS8ekTKJxiJMug&noverify=0&group_code=983129366"
            target="_blank"
            >QQ</a
          >
          <a class="link-name" href="http://vitablog.top" target="_blank">VITAの个人博客</a>
        </div>
      </div>
      <!-- 右边 -->
      <div class="right">
        <p class="title">联系方式</p>
        <div class="right-content">
          <div>
            <img class="img-l" src="@/assets/images/bili.png" alt="" />
            <p>B站</p>
          </div>
          <div>
            <img src="@/assets/images/qq.png" alt="" />
            <p>QQ</p>
          </div>
        </div>
      </div>
    </div>
    <div class="icp-content">
      <a class="icp" href="https://beian.miit.gov.cn" target="_blank">鄂ICP备2023009666号-2</a>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.zy-footer {
  width: 100%;
  background-color: #202020;
  margin-top: 30px;
  .content {
    width: 1200px;
    padding-top: 20px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    p {
      color: rgba(255, 255, 255, 0.5);
    }
    .title {
      font-size: 16px;
      margin-bottom: 12px;
    }
  }
}
.left {
  .logo {
    display: flex;
    align-items: center;
    padding-bottom: 24px;
    p {
      font-size: 20px;
      color: #ffffff;
      font-weight: 600;
      padding-left: 10px;
    }
  }
  .explain {
    font-size: 12px;
    padding-bottom: 8px;
    width: 400px;
  }
}
.link {
  padding-right: 20px;
  padding-left: 70px;
  flex: 1;
  .link-content {
    .link-name {
      color: rgba(255, 255, 255, 0.5);
      padding-right: 20px;
      font-size: 12px;
      &:hover {
        color: rgba(255, 255, 255, 0.874);
      }
    }
  }
}
.right {
  .right-content {
    display: flex;
    img {
      width: 80px;
      height: 80px;
    }
    .img-l {
      margin-right: 40px;
    }
    p {
      font-size: 12px;
      margin-top: 3px;
    }
  }
}
.icp-content {
  font-size: 12px;
  text-align: center;
  padding-bottom: 10px;
  .icp {
    color: rgba(255, 255, 255, 0.5);
    &:hover {
      color: rgba(255, 255, 255, 0.874);
    }
  }
}
</style>
